package com.hoyue.dao;

import com.hoyue.utils.Page;

import java.sql.SQLException;

/**
 * @author Hoyue_network1
 * @version 1.0
 * Creat by 2018/8/30 11:51
 */
public interface PageDao<T> {
	/**
	 * 根据页数和表名返回该页数据
	 * @param page
	 * @param tableName
	 * @return
	 * @throws SQLException
	 */
	Page<T> getListByPage(int page, String tableName) throws SQLException;
}
